﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EduseKiosk
{
    public partial class NewAnswerPage : ViewControl
    {
        public NewAnswerPage()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (!pictureBox2.Visible)
                button1.Text = "Sakla";
            else
                button1.Text = "Çözüm";

            pictureBox2.Visible = !pictureBox2.Visible;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            if (!pictureBox3.Visible)
                button2.Text = "Sakla";
            else
                button2.Text = "Göster";

            pictureBox3.Visible = !pictureBox3.Visible;
        }

        private void NewAnswerPage_Load(object sender, EventArgs e)
        {
            department = "Endüstri Mühendisliği";
            course = "Olasılık";
            chapter = "Bölüm 1: Kombinatorik Analiz";
            //section = "Saymanın Temel İlkesi";
            //type = "Örnek Soru 1";

            upperControl = new ChapterView();
            previousControl = new NewQuestionPage();
            nextControl = new PrinciplePage1();
        }
    }
}
